<?php

//podaje dokladna sciezke do miejsca gszie jest biblioteka ladowana
define('APPLICATION_PATH', realpath('../'));
set_include_path( APPLICATION_PATH.'/zendFormBezFrameworka/library/'.get_include_path() ); 


// set include path
//set_include_path( 'Form'.PATH_SEPARATOR.get_include_path() );


//damian dziala ale na sztywno lipa
//set_include_path( 'D:\xampp\htdocs\zend\nawww\TestyDamian\zendFormBezFrameworka\library'.PATH_SEPARATOR.get_include_path() );
//echo realpath('../');  // super metoda pokazuje cala sciezke dostepu
//exit;




// Build array of 3 different paths
$paths = array(
    APPLICATION_PATH,
    APPLICATION_PATH . '\com',
    get_include_path()
);


//
// Result of array above...
// Array
// (
//    [0] => E:\Web Server\xampp\htdocs\test
//   [1] => E:\Web Server\xampp\htdocs\test\com
//    [2] => .;C:\php5\pear
// )




